home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / flex236.zip / PATCHES < prev    next >
Text File  |  1990-11-01  |  5KB  |  187 lines

  1. *** e:\tmp/RCSt1006565    Sat Oct 27 22:27:54 1990
  2. --- flex.ske    Sat Oct 27 20:59:02 1990
  3. ***************
  4. *** 1,7 ****
  5.   /* A lexical scanner generated by flex */
  6.   
  7.   /* scanner skeleton version:
  8. !  * $Header: e:/gnu/flex/RCS/flex.ske 2.3.0.3 90/08/13 09:29:24 tho Exp $
  9.    */
  10.   
  11.   #define FLEX_SCANNER
  12. --- 1,7 ----
  13.   /* A lexical scanner generated by flex */
  14.   
  15.   /* scanner skeleton version:
  16. !  * $Header: e:/gnu/flex/RCS/flex.ske 2.3.0.4 90/08/14 21:17:44 tho Exp $
  17.    */
  18.   
  19.   #define FLEX_SCANNER
  20. ***************
  21. *** 46,51 ****
  22. --- 46,57 ----
  23.   #endif    /* __STDC__ */
  24.   #endif    /* ! __cplusplus */
  25.   
  26. + #ifdef MSDOS
  27. + #if defined (_MSC_VER) && (_MSC_VER == 600)
  28. + #define register        /* MSC 6.0 Compiler dies with fatal internal */
  29. + #pragma optimize ("e", off)    /* error during register allocation ... */
  30. + #endif /* MSC 6.0 */
  31. + #endif /* MSDOS */
  32.   
  33.   #ifdef __TURBOC__
  34.   #define YY_USE_CONST
  35. *** e:\tmp/RCSt1006565    Sat Oct 27 22:28:00 1990
  36. --- flexdef.h    Sat Oct 27 22:05:02 1990
  37. ***************
  38. *** 26,32 ****
  39.    * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  40.    */
  41.   
  42. ! /* @(#) $Header: e:/gnu/flex/RCS/flexdef.h 2.3.0.3 90/08/13 09:29:27 tho Exp $ (LBL) */
  43.   
  44.   #ifndef FILE
  45.   #include <stdio.h>
  46. --- 26,32 ----
  47.    * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  48.    */
  49.   
  50. ! /* @(#) $Header: e:/gnu/flex/RCS/flexdef.h 2.3.0.4 90/08/14 21:17:31 tho Exp $ (LBL) */
  51.   
  52.   #ifndef FILE
  53.   #include <stdio.h>
  54. ***************
  55. *** 866,871 ****
  56. --- 866,875 ----
  57.   
  58.   /* The Unix kernel calls used here */
  59.   
  60. + #ifdef MSDOS
  61. + #include <io.h>
  62. + #else /* not MSDOS */
  63.   extern int read PROTO((int, char*, int));
  64.   extern int unlink PROTO((char*));
  65.   extern int write PROTO((int, char*, int));
  66. + #endif /* not MSDOS */
  67. *** e:\tmp/RCSt1006565    Sat Oct 27 22:28:06 1990
  68. --- misc.c    Sat Oct 27 22:10:44 1990
  69. ***************
  70. *** 28,34 ****
  71.   
  72.   #ifndef lint
  73.   static char rcsid[] =
  74. !     "@(#) $Header: e:/gnu/flex/RCS/misc.c 2.3.6.1 90/10/27 19:45:15 tho Exp $ (LBL)";
  75.   #endif
  76.   
  77.   #include <ctype.h>
  78. --- 28,34 ----
  79.   
  80.   #ifndef lint
  81.   static char rcsid[] =
  82. !     "@(#) $Header: e:/gnu/flex/RCS/misc.c 2.3.6.2 90/10/27 20:10:24 tho Exp $ (LBL)";
  83.   #endif
  84.   
  85.   #include <ctype.h>
  86. ***************
  87. *** 400,406 ****
  88.   
  89.   #ifdef MS_DOS
  90.   #include <time.h>
  91. ! typedef long time_t;
  92.   #endif
  93.   
  94.   char *flex_gettime()
  95. --- 400,406 ----
  96.   
  97.   #ifdef MS_DOS
  98.   #include <time.h>
  99. ! /* typedef long time_t;  it's in <time.h>! [tho]: Mon Aug 13 09:50:53 1990 */
  100.   #endif
  101.   
  102.   char *flex_gettime()
  103. *** e:\tmp/RCSt1006565    Sat Oct 27 22:28:16 1990
  104. --- initscan.c    Sat Oct 27 22:04:52 1990
  105. ***************
  106. *** 1,7 ****
  107.   /* A lexical scanner generated by flex */
  108.   
  109.   /* scanner skeleton version:
  110. !  * $Header: e:/gnu/flex/RCS/initscan.c 2.3 90/10/27 20:16:31 tho Exp $
  111.    */
  112.   
  113.   #define FLEX_SCANNER
  114. --- 1,7 ----
  115.   /* A lexical scanner generated by flex */
  116.   
  117.   /* scanner skeleton version:
  118. !  * $Header: e:/gnu/flex/RCS/initscan.c 2.3.6.1 90/10/27 21:31:32 tho Exp $
  119.    */
  120.   
  121.   #define FLEX_SCANNER
  122. ***************
  123. *** 46,51 ****
  124. --- 46,57 ----
  125.   #endif    /* __STDC__ */
  126.   #endif    /* ! __cplusplus */
  127.   
  128. + #ifdef MSDOS
  129. + #if defined (_MSC_VER) && (_MSC_VER == 600)
  130. + #define register        /* MSC 6.0 Compiler dies with fatal internal */
  131. + #pragma optimize ("e", off)    /* error during register allocation ... */
  132. + #endif /* MSC 6.0 */
  133. + #endif /* MSDOS */
  134.   
  135.   #ifdef __TURBOC__
  136.   #define YY_USE_CONST
  137. ***************
  138. *** 196,202 ****
  139.   
  140.   #ifndef lint
  141.   static char rcsid[] =
  142. !     "@(#) $Header: e:/gnu/flex/RCS/initscan.c 2.3 90/10/27 20:16:31 tho Exp $ (LBL)";
  143.   #endif
  144.   
  145.   #undef yywrap
  146. --- 202,208 ----
  147.   
  148.   #ifndef lint
  149.   static char rcsid[] =
  150. !     "@(#) $Header: e:/gnu/flex/RCS/initscan.c 2.3.6.1 90/10/27 21:31:32 tho Exp $ (LBL)";
  151.   #endif
  152.   
  153.   #undef yywrap
  154. *** e:\tmp/RCSt1006565    Sat Oct 27 22:28:24 1990
  155. --- parse.y    Sat Oct 27 22:22:22 1990
  156. ***************
  157. *** 32,38 ****
  158.   
  159.   #ifndef lint
  160.   static char rcsid[] =
  161. !     "@(#) $Header: e:/gnu/flex/RCS/parse.y 2.3 90/08/13 09:13:28 tho Exp $ (LBL)";
  162.   #endif
  163.   
  164.   #include "flexdef.h"
  165. --- 32,38 ----
  166.   
  167.   #ifndef lint
  168.   static char rcsid[] =
  169. !     "@(#) $Header: e:/gnu/flex/RCS/parse.y 2.3.0.2 90/10/27 22:22:01 tho Exp $ (LBL)";
  170.   #endif
  171.   
  172.   #include "flexdef.h"
  173. ***************
  174. *** 44,49 ****
  175. --- 44,54 ----
  176.   static int madeany = false;  /* whether we've made the '.' character class */
  177.   int previous_continued_action;    /* whether the previous rule's action was '|' */
  178.   
  179. + void yyerror PROTO((char *));
  180. + void build_eof_action PROTO((void));
  181. + #ifdef MSDOS                /* bison uses alloca () */
  182. + #include <malloc.h>
  183. + #endif
  184.   %}
  185.   
  186.   %%
  187.